<?php /* Smarty version 2.6.18, created on 2010-05-11 21:26:05
         compiled from admin/image/mod.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/public/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<div id="main">
		  	<div class="head-dark-box">
				<div class="tit">后台管理->图片管理->修改图片</div>
			</div>	
			<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/public/title.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		    <form  method="post" action="admin.php?m=image&a=update" enctype="multipart/form-data">
			<div class="msg-box">
				<ul class="viewmess">
					<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['post']['id']; ?>
">
					<li class="light-row">
						<span class="col_width">修改相册</span>
							<?php echo $this->_tpl_vars['select']; ?>
	
						</li>
					<li class="dark-row">
						<span class="col_width">图片标题<span class="red_font">*</span></span>
						<input type="text" class="text-box" name="picTitle" size="20" value="<?php echo $this->_tpl_vars['post']['picTitle']; ?>
">
					</li>
					<li class="light-row">
						<span class="col_width" style="margin-top:30px">图片描述</span>
						<textarea class="text-box" name="description" cols="30" rows="5"><?php echo $this->_tpl_vars['post']['description']; ?>
</textarea>
					</li>

					<li class="dark-row">
						<span class="col_width">&nbsp; </span>
						<input type="checkbox" name="hasThumb" value="1" <?php echo $this->_tpl_vars['hasThumb']; ?>
> 生成缩略图 
						<input type="checkbox" name="hasMark" value="1" <?php echo $this->_tpl_vars['hasMark']; ?>
> 加水印 
					</li>
				
					<li class="light-row">
						<span class="col_width">更改图片 </span>
						<?php if ($this->_tpl_vars['post']['hasThumb']): ?>
							<a href="javascript:newopen(<?php echo $this->_tpl_vars['post']['id']; ?>
)"><img border=0 src="<?php echo $this->_tpl_vars['picPath']; ?>
th_<?php echo $this->_tpl_vars['post']['picName']; ?>
" alt="图片预览" width=80 height="80" /></a>
						<?php else: ?>
							<a href="javascript:newopen(<?php echo $this->_tpl_vars['post']['id']; ?>
)"><img border=0 src="<?php echo $this->_tpl_vars['picPath']; ?>
<?php echo $this->_tpl_vars['post']['picName']; ?>
" alt="图片预览" width=80 height="80"/></a>
						<?php endif; ?><br>
						<span class="col_width"> </span>
						<input type="hidden" name="picName" value="<?php echo $this->_tpl_vars['post']['picName']; ?>
">
						<input type="file" name="pic" />&nbsp;&nbsp;如果需要更换图片请重新选择
					</li>
					<li class="light-row">
						<span class="col_width">&nbsp;</span>
			
						<input type="submit" class="button"  value="修 改">&nbsp;&nbsp;
						<input type="reset" class="button" value="重 置">
					</li>
				</ul>	
			</div>
                    </form>	
		</div>
<div id="timer">
	<p><span class="exetime">当前脚本执行用时</span><span class="red_font"><?php echo $this->_tpl_vars['timer']; ?>
</span>秒&nbsp;</p>	
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "admin/public/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>	

